﻿@model Gfw.Web.Models.Account.RechargeQueryViewModel

@{
    ViewBag.Title = "充值查询";
    Layout = "~/Views/Shared/_LayoutContent.cshtml";
}

@section scripts
{
    <script type="text/javascript">
 
        $(document).ready(function () {
            $('#Start').datepicker({ dateFormat: 'yy/mm/dd' });
            $('#End').datepicker({ dateFormat: 'yy/mm/dd' });
        });
    </script>
}
 @using (Html.BeginForm())
 {
     <div>
         @Html.DisplayNameFor(m => m.Start)
         @Html.EditorFor(m => m.Start)
         @Html.DisplayNameFor(m => m.End)
         @Html.EditorFor(m => m.End)
         <input type="submit" value="查询" />
     </div>
 }
<table id="mytable">
    <tr>
        <th>
            充值金额
        </th>
        <th>
            充值日期
        </th>
        <th>
            账户余额
        </th>
        <th>
            摘要
        </th>
    </tr>
    @foreach (var r in Model.Results)
    {
        <tr>
            <td>@r.Income.ToString("C")
            </td>
            <td>@r.TradeDate
            </td>
            <td >@r.Balance.ToString("C")
            </td>
            <td>@r.TradeAbstract
            </td>
        </tr>
    }
</table>

